﻿<UserControl x:Class="SilverlightClient.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">

    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.Resources>
            <CollectionViewSource  x:Key="_source"></CollectionViewSource>
        </Grid.Resources>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>

        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>


        <TextBox Grid.Row="0" Text="Results:"/>

        <ListBox Grid.Row="1" Name="ResultBox"      ItemsSource="{Binding Source={StaticResource _source}}" />

        <StackPanel Grid.Row="3" Orientation="Horizontal" HorizontalAlignment="Right" Height="25">
            <Button Content="Agencies" Name="AgenciesButton" MinWidth="75" />
            <Button Content="Stops" Name="StopsButton" MinWidth="75" />
            <Button Content="Itineraries" Name="ItinerariesButton" MinWidth="75" />
            <Button Content="Stop Rosslyn" Name="StopRosslynButton" MinWidth="75" />
            <Button Content="Arriavals near Rosslyn" Name="ArriavalRosslynButton" MinWidth="75" />
        </StackPanel>
    </Grid>
</UserControl>
